<link rel="stylesheet" href="../../css/iconFont/iconfont.css">
<link rel="stylesheet" href="css/receiveStands/receiveStandsIndex.css">
<!--<link rel="stylesheet" href="css/caseBarSchedule.css">-->
<style type="text/css" >
  h2{font-size:25px}
  /*.modal-backdrop{display:none}*/
  /*字体*/
  @font-face {
    font-family: "iconfont";
    src: url('../../css/iconFont/iconfont.eot'); /* IE9*/
    src: url('../../css/iconFont/iconfont.eot#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../../css/iconFont/iconfont.woff') format('woff'), /* chrome, firefox */
    url('../../css/iconFont/iconfont.ttf') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/
    url('../../css/iconFont/iconfont.svg#iconfont') format('svg'); /* iOS 4.1- */
  }

  .iconfont {
    font-family:"iconfont" !important;
    font-size:14px;
    font-style:normal;
    -webkit-font-smoothing: antialiased;
    -webkit-text-stroke-width: 0.2px;
    -moz-osx-font-smoothing: grayscale;
  }
  .icon {
    width: 1em;
    height: 1em;
    vertical-align: -0.15em;
    fill: currentColor;
    overflow: hidden;
  }
</style>
<!--接案台-->

<div class="wrap" style="background: #f5f5f5;position: relative;top: 7px;">
  <div class="y-team" style="position: absolute;top: 10px;overflow-x: hidden;">
    <!--top-->
    <div class="y-nav clearfix" style="position: relative;margin-left: 20px">
      <h3 class="fl manage" style="margin-top: 10px"><a href="javascript:;">接案台</a></h3>
      <ul class="fl leaguer" >

        <li class="fl"  ui-sref-active="active"><a ui-sref="caseSources" ng-show="userInfo.isOpen>0"><span >案源池</span></a></li>
        <li class="fl"   ui-sref-active="active"><a ui-sref="orderReceiving" ng-show="userInfo.isOpen>0">接单中心</a></li>
      </ul>
    </div>

    <div ui-view="" style="position: relative;left:20px;" ng-if="userInfo.isOpen>0"></div>



    <!--未开通图片-->
    <div class="receiveStandsNotOpen" ng-if="userInfo.isOpen<=0">
      <div class="receiveStandsNotOpen-content" ng-show="userInfo.skillCount<=0 || userInfo.authState != 2">
        <img src="img/lock.png" alt="" width="187px" height="187px">
        <div>
            <p class="flag-status">暂未开启此功能</p>
            <p class="flag-msg">您需要在个人中心中完成 <a href="javascript:;" ui-sref="setting">实名认证</a>,并完善 <a href="javascript:;" ui-sref="setting">擅长领域</a>信息,即可开通  <span>接案台</span>功能</p>
        </div>
          <div class="img-list">
              <span ng-show="userInfo.authState != 2">
                  <img src="img/gray_head.png" alt="" width="50px" height="50px">实名认证
              </span>

              <span class="active" ng-show="userInfo.authState == 2">
                  <img src="img/blue_head.png" alt="" width="50px" height="50px">实名认证
              </span>

              <span ng-show="userInfo.skillCount<=0"><img src="img/gray_flag.png" alt="" width="50px" height="50px">擅长领域</span>
              <span class="active" ng-show="userInfo.skillCount>0"><img src="img/blue_flag.png" alt="" width="50px" height="50px">擅长领域</span>
          </div>
      </div>
        <div class="receiveStandsNotOpen-content" ng-show="userInfo.skillCount>0 && userInfo.authState == 2">
            <img src="img/unlock.png" alt="" width="210px" height="191px">
            <div>
                <p class="flag-status-pact"><a ng-click="addOpenConsult()" class="btn">开启接案台</a></p>
                <p class="flag-msg-pact">*开启即代表我已阅读并同意<a href="img/案源服务协议.docx" download="案源服务协议.docx">《案源服务协议》</a>相关条款中的内容</p>
            </div>
        </div>
    </div>
  </div>
</div>
<!--最大的父级-->


<script>
  $(window).ready(function () {

    /*设置屏幕高度*/
    setHeight();
    function setHeight() {
      var height = $(window).height()-200 + 'px';
      var gTeamListHeight = $(window).height()-129 + 'px';
      var minHeight = $(window).height()-140 + 'px';
      var maxHeight = $(window).height()-60 + 'px';
      $(".y-content-box").css("height",minHeight);
      $(".y-team").css("height",maxHeight);
      $(".wrap").css("height",maxHeight);
      $(".wrap").css("width",'100%');
      $(".receiveStandsNotOpen").css("height",gTeamListHeight);
//      $(".y-content2-lawyer").css("height",height);
    };
    $(window).resize(function() {
      setHeight();
    });

  })
</script>




